package cn.rkylin.oms.item.vo;

import cn.rkylin.oms.item.domain.Sku;

import java.math.BigDecimal;

/**
 * 平台商品值对象，用于满足前台展示、系统间交互的需要
 *
 * @author wangxing
 * @version 1.0
 * @created 14-2月-2017 16:00:00
 */
public class SkuVO extends Sku {
    /**
     * 序列化id
     */
    private static final long serialVersionUID = 1197685522511484879L;

    public void finalize() throws Throwable {
        super.finalize();
    }

    /**
     * 平台商品名称
     */
    private String ecItemName;
    /**
     * 平台商品商家编码
     */
    private String itemOuterCode;

    /**
     * 系统规格标准售价
     */
    private BigDecimal sysSalePrice;

    /**
     * 系统规格成本价
     */
    private BigDecimal costPrice;

    /**
     * 系统规格虚拟商品
     */
    private String isVirt;

    public String getEcItemName() {
        return ecItemName;
    }

    public void setEcItemName(String ecItemName) {
        this.ecItemName = ecItemName == null ? null : ecItemName.trim();
    }

    public String getItemOuterCode() {
        return itemOuterCode;
    }

    public void setItemOuterCode(String itemOuterCode) {
        this.itemOuterCode = itemOuterCode == null ? null : itemOuterCode.trim();
    }


    public BigDecimal getSysSalePrice() {
        return sysSalePrice;
    }

    public void setSysSalePrice(BigDecimal sysSalePrice) {
        this.sysSalePrice = sysSalePrice;
    }

    public BigDecimal getCostPrice() {
        return costPrice;
    }

    public void setCostPrice(BigDecimal costPrice) {
        this.costPrice = costPrice;
    }

    public String getIsVirt() {
        return isVirt;
    }

    public void setIsVirt(String isVirt) {
        this.isVirt = isVirt == null ? null : isVirt.trim();
    }
}